3.3.99 \(\int \frac {1}{c^2 x^2 \sqrt {\frac {a}{x^2}+b x^n}} \, dx\)

Optimal. Leaf size=40 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {\frac {a}{x^2}+b x^n}}\right )}{\sqrt {a} c^2 (n+2)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {12, 2029, 206} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {\frac {a}{x^2}+b x^n}}\right )}{\sqrt {a} c^2 (n+2)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(c^2*x^2*Sqrt[a/x^2 + b*x^n]),x]

[Out]

(-2*ArcTanh[Sqrt[a]/(x*Sqrt[a/x^2 + b*x^n])])/(Sqrt[a]*c^2*(2 + n))

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 2029

Int[(x_)^(m_.)/Sqrt[(a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[-2/(n - j), Subst[Int[1/(1 - a*x^2
), x], x, x^(j/2)/Sqrt[a*x^j + b*x^n]], x] /; FreeQ[{a, b, j, n}, x] && EqQ[m, j/2 - 1] && NeQ[n, j]

Rubi steps

\begin {align*} \int \frac {1}{c^2 x^2 \sqrt {\frac {a}{x^2}+b x^n}} \, dx &=\frac {\int \frac {1}{x^2 \sqrt {\frac {a}{x^2}+b x^n}} \, dx}{c^2}\\ &=-\frac {2 \operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {1}{x \sqrt {\frac {a}{x^2}+b x^n}}\right )}{c^2 (2+n)}\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a}}{x \sqrt {\frac {a}{x^2}+b x^n}}\right )}{\sqrt {a} c^2 (2+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 66, normalized size = 1.65 \begin {gather*} -\frac {2 \sqrt {a+b x^{n+2}} \tanh ^{-1}\left (\frac {\sqrt {a+b x^{n+2}}}{\sqrt {a}}\right )}{\sqrt {a} c^2 (n+2) x \sqrt {\frac {a}{x^2}+b x^n}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(c^2*x^2*Sqrt[a/x^2 + b*x^n]),x]

[Out]

(-2*Sqrt[a + b*x^(2 + n)]*ArcTanh[Sqrt[a + b*x^(2 + n)]/Sqrt[a]])/(Sqrt[a]*c^2*(2 + n)*x*Sqrt[a/x^2 + b*x^n])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.11, size = 64, normalized size = 1.60 \begin {gather*} -\frac {2 x \sqrt {\frac {a}{x^2}+b x^n} \tanh ^{-1}\left (\frac {\sqrt {a+b x^{n+2}}}{\sqrt {a}}\right )}{\sqrt {a} c^2 (n+2) \sqrt {a+b x^{n+2}}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/(c^2*x^2*Sqrt[a/x^2 + b*x^n]),x]

[Out]

(-2*x*Sqrt[a/x^2 + b*x^n]*ArcTanh[Sqrt[a + b*x^(2 + n)]/Sqrt[a]])/(Sqrt[a]*c^2*(2 + n)*Sqrt[a + b*x^(2 + n)])

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/c^2/x^2/(a/x^2+b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {b x^{n} + \frac {a}{x^{2}}} c^{2} x^{2}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/c^2/x^2/(a/x^2+b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(b*x^n + a/x^2)*c^2*x^2), x)

________________________________________________________________________________________

maple [F]  time = 0.70, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {b \,x^{n}+\frac {a}{x^{2}}}\, c^{2} x^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/c^2/x^2/(b*x^n+a/x^2)^(1/2),x)

[Out]

int(1/c^2/x^2/(b*x^n+a/x^2)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {1}{\sqrt {b x^{n} + \frac {a}{x^{2}}} x^{2}}\,{d x}}{c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/c^2/x^2/(a/x^2+b*x^n)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(b*x^n + a/x^2)*x^2), x)/c^2

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{c^2\,x^2\,\sqrt {b\,x^n+\frac {a}{x^2}}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c^2*x^2*(b*x^n + a/x^2)^(1/2)),x)

[Out]

int(1/(c^2*x^2*(b*x^n + a/x^2)^(1/2)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {1}{x^{2} \sqrt {\frac {a}{x^{2}} + b x^{n}}}\, dx}{c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/c**2/x**2/(a/x**2+b*x**n)**(1/2),x)

[Out]

Integral(1/(x**2*sqrt(a/x**2 + b*x**n)), x)/c**2

________________________________________________________________________________________